#include <iostream>
#include <fstream>
#include <string>

using namespace std;

int main(){

	char string[50];
	double x, y, z;
	int count = 0;
	
	double a0 = 0;
	double b0 = 0;
	double c0 = 0;
	cout<<"file to write"<<endl;
	cin>>string;
	ofstream outfile(string); 

	for(double a1 = -60; a1 < -40; a1 +=10){
		for(double b1 = -30; b1 < 30; b1 +=10){
			for(double c2 = -10; c2 < 0; c2 ++){
				for(double c1 = 80; c1 < 140; c1 +=15){
					for(int t = 0; t < 150; t++){
						count = 0;
						x = (a1 * t + a0) / 10000;
						y = (b1 * t + b0) / 6000;
						//z = (c2 * t * t + c1 * t + c0) / 240000;
				
						if(t < 5){
							outfile<<x<<"\t"<<y<<"\t"/*<<z*/<<"\t";
							cout<<"five ones"<<"\n";
						}
						
						if(t == 148){
							outfile<<x<<"\t"<<y<<"\t"/*<<z*/<<"\t";
							cout<<"end"<<endl;
						}
						if(t == 149){
							outfile<<x<<"\t"<<y<<"\t"/*<<z*/<<"\n";
							cout<<"end"<<endl;
						}
					}
				}
			}
		}
	}
	outfile<<".";

	return 0;
}

